<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
include 'connect_db.php';
$sql="SELECT users_idusers as 'user',items_iditems as 'item',rating FROM ratings";
$result=mysql_query($sql);
 while($tableau=mysql_fetch_array($result,MYSQL_ASSOC)){
     echo $tableau['user'].'    '.$tableau['item'].'    '.$tableau['rating'].'
   ';
}
mysql_close($link);
?>
